import request from "@/utils/request"
import { Qs } from "@/utils/tool"


//修改密码
export function resetPass(params) {
    return request.post("/HQ_ZHSY_API/sys/modifyPwd", params, {
        headers: {
            "Content-Type": "application/x-www-form-urlencoded"
        }
    });
}

export function loginLog(params) {
    return request.get("/HQ_ZHSY_API/sys/loginLog?" + Qs(params));
}

export function moduleManage() {
    return request.get("/HQ_ZHSY_API/sys/moduleManage");
}

export function roleManage() {
    return request.get("/HQ_ZHSY_API/sys/roleManage");
}

export function userManage(params) {
    return request.get("/HQ_ZHSY_API/sys/userManage?" + Qs(params));
}